package com.lesso.zgs.sunflower.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.zgs.sunflower.pojo.dto.EmployeeDTO;
import com.lesso.zgs.sunflower.pojo.dto.EmployeeQueryDTO;
import com.lesso.zgs.sunflower.pojo.vo.EmployeeVO;

import java.util.List;

/**
 * IEmployeeService
 *
 * @author zgs
 * @since 2025-07-02
 */
public interface IEmployeeService {
    Long save(EmployeeDTO dto);
    EmployeeDTO getById(Long id);
    Integer update(EmployeeDTO dto);
    Integer delete(Long id);

    Page<EmployeeVO> page(EmployeeQueryDTO dto);

    Page<EmployeeVO> customPage(EmployeeQueryDTO dto);


}
